package com.hospital.createentitytest.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;



import com.baomidou.mybatisplus.annotations.Version;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 药品供货商表
 * </p>
 *
 * @author 王晓康
 * @since 2020-10-26
 */
@Data
@Accessors(chain = true)
public class Vender extends Model<Vender> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("venderNum")
    private Integer venderNum;

    @TableField("venderName")
    private String venderName;

    @TableField("linkPerson")
    private String linkPerson;

    private String phone;

    @TableField("createTime")
    private Date createTime;

    private Integer userId;

    private Integer venderstatusId;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
